package com.cwj.mansysback.entity;

import java.math.BigDecimal;

public class Rank {

    String rid;
    String rname;
    Double rpiece;

    Long teaCount;
    Double avgSalary;

    public Long getTeaCount() {
        return teaCount;
    }

    public void setTeaCount(Long teaCount) {
        this.teaCount = teaCount;
    }

    public Double getAvgSalary() {
        return avgSalary;
    }

    public void setAvgSalary(Double avgSalary) {
        this.avgSalary = avgSalary;
    }

    public Rank() {
    }

    public Rank(String rid, String rname, Double rpiece) {
        this.rid = rid;
        this.rname = rname;
        this.rpiece = rpiece;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

    public Double getRpiece() {
        return rpiece;
    }

    public void setRpiece(Double rpiece) {
        this.rpiece = rpiece;
    }

    @Override
    public String toString() {
        return "Rank{" +
                "rid='" + rid + '\'' +
                ", rname='" + rname + '\'' +
                ", rpiece=" + rpiece +
                ", teaCount=" + teaCount +
                ", avgSalary=" + avgSalary +
                '}';
    }
}
